]> dgit.raspbian.org Git - gnome-shell.git/commit
dialog: Reset initial focus on destroy
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Oct 2017 08:06:10 +0000 (10:06 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 26 Oct 2017 16:14:52 +0000 (18:14 +0200)
commit100d6a7fa7aa28ded1a1a1d89f34061ea3084703
tree236cafd347e083e43515309ff2576dc5dbc002cf
parent9537bb276b5ef81e8ec840fd52a3b9ff968ce2c6
dialog: Reset initial focus on destroy

Since 0b02f757f862 we track the button that should have key focus
when the dialog is opened. However when the dialog is reused, the
button may get destroyed - clear the initial focus in that case to
allow setButton() to set a new one.

https://bugzilla.gnome.org/show_bug.cgi?id=788542
js/ui/dialog.js